Skip to content

Complete Array-2#1855

Open
shinjaneegupta wants to merge 1 commit intosuper30admin:masterfrom
shinjaneegupta:master
Open

Complete Array-2#1855
shinjaneegupta wants to merge 1 commit intosuper30admin:masterfrom
shinjaneegupta:master

Conversation

@shinjaneegupta
Copy link

No description provided.

@super30admin
Copy link
Owner

  • DisappearedNumbers: Excellent solution. The approach of marking indices as negative is efficient and clever. The code is clean and easy to understand.
  • GameOfLife: Well done. The use of temporary states (2 and 3) is a smart way to handle in-place updates. The helper function getCount is well-implemented.
  • MinAndMax: Good implementation of the pair comparison method. One minor suggestion: consider using more descriptive variable names for the loop index (e.g., index instead of i) to enhance readability, though it is acceptable in this context.

Overall, the student demonstrates a strong understanding of algorithms and efficient coding practices. The solutions are optimal in terms of time and space complexity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments